package thread.zjitc.net.lib.HomeWork2;

/**
 * @author 朱志文
 * @data 2019/10/20 0020
 */
public class MyThread extends Thread{
    MyThread(String str){
        super(str);
    }

    @Override
    public void run() {
        super.run();
        try {
            Thread.sleep(3);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("The Thread Name:"+getName()+",Priority:"+getPriority());
    }
}
